<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .p {
            width: 200px;
            height: 50px;
            margin: 50px 0;
            background-color: red;
        }

        .wrap {
            overflow: hidden;
        }
    </style>
</head>

<body>
<div class="p"></div>
<div class="wrap">
    <div class="p"></div>
</div>

</body>
</html>